package com.hh.flow.service;

import com.hh.flow.domain.FlowNode;
import com.hh.mybatis.service.IBaseService;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * 流程结点Service接口
 *
 * @author hh
 * @date 2023-03-29
 */
public interface IFlowNodeService extends IBaseService<FlowNode> {
    /**
     * 根据流程编码获取开启的唯一流程的流程结点集合
     *
     * @param flowCode
     * @return
     */
    List<FlowNode> queryNewVersionFlowNodeByFlowCode(@NotBlank String flowCode);

}
